import { createWebHashHistory, createRouter } from "vue-router";


const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        { path: '/', redirect: '/home', meta: { keepAlive: true } },
        { path: '/home', name: 'Home', component: () => import('./components/Home.vue') },
        { path: '/user', name: 'User', component: () => import('./components/User.vue') },
        { path: '/music', name: 'Music', component: () => import('./components/music.vue') }
    ]

})


export default router